package com.ruoyi.shouye.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.web.bind.annotation.GetMapping;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 销售出库对象 xiaoshou_chuku
 *
 * @author ruoyi
 * @date 2023-05-23
 */
@ApiModel(value = "销售数据结果集")
@Data
public class XiaoshouDto {


    private static final long serialVersionUID = 1L;

    /** 开始时间 */
    @ApiModelProperty(hidden=true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /** 结束时间 */
    @ApiModelProperty(hidden=true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 销售日期 */
    @ApiModelProperty("销售日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date chukuDate;

    /** 销售金额 */
    @ApiModelProperty("销售金额")
    @Excel(name = "销售金额")
    private BigDecimal jiner;

    /** 仓库 */
    @ApiModelProperty("仓库")
    @Excel(name = "仓库")
    private String chukuCangku;

    @ApiModelProperty("未还款")
    private BigDecimal weihuankuan;

    @ApiModelProperty("购货总金额")
    private BigDecimal gouhuozongjiner;

    @ApiModelProperty("利润金额")
    private BigDecimal lirunjiner;

    @ApiModelProperty("销售金额数组")
    private List<BigDecimal> xiaohuoData;
    @ApiModelProperty("购货金额数组")
    private List<BigDecimal> gouhuoData;
}
